id type laravel

37

$table->foreignId('user_id') // UNSIGNED BIG INT
                ->references('id')
                ->on('users'); 

Comments

Submit
0 Comments